package org.nanotek.lucene.rank;

/**
 * A Rankeable Item, defined as tuple X,Y that under some
 * Parameter of measure P the value under Measure R has a equivalente value
 * I -> that can be used as some dimension value.
 * @author josecanova
 *
 * @param <R> The Resource X which can be defined as a "Subset of an Index".
 * or another parameter that measure a distance from a point of origin, which means, 
 * something that is "object of measure". (for example top or bottom, depending upon how the subclass implements the "getRank" 
 * function.  
 * 
 * @param <I> The Equivalence Rank(I) that such resource 
 *            is measured under "certain conditions" of measure.
 */
public interface Rankeable <R,I>{

	public  I getRank(R resource);

}
